package com.hongkuncheng.cms.controller.resource;

import com.hongkuncheng.cms.controller.BaseController;
import com.hongkuncheng.cms.ueditor.ActionEnter;
import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@Transactional
@RequestMapping(value = "resource/ueditor", produces = "text/html;charset=UTF-8")
public class RueditorController extends BaseController {

    @RequestMapping
    @ResponseBody
    public void index() {
        print(new ActionEnter(request, applicationDirectory).exec());
    }

}
